package com.alks.function.data.dto.pcfactorywork;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class OutUnitPriceDto {
    @ApiModelProperty(value = "客户")
    private String custom;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @NumberFormat
    @ApiModelProperty(value = "订单数")
    private BigDecimal orderQty;

    @DateTimeFormat("yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "下单日期")
    private LocalDateTime orderDate;

    @DateTimeFormat("yyyy/MM/d")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "交单日期")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "制程")
    private String process;

    @NumberFormat
    @ApiModelProperty(value = "冲裁")
    private BigDecimal cutPrice;

    @NumberFormat
    @ApiModelProperty(value = "手工")
    private BigDecimal craftPrice;

    @NumberFormat
    @ApiModelProperty(value = "针车")
    private BigDecimal stitchPrice;

    @NumberFormat
    @ApiModelProperty(value = "本厂单价")
    private BigDecimal costPrice;

    @NumberFormat
    @ApiModelProperty(value = "外接单价")
    private BigDecimal outPrice;

    @ApiModelProperty(value = "审核标志位(Y/NULL)")
    private String cfmFlag;


}
